<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[%if count($arrkeylink)>0%]
<title>[%$arrkeylink.keytitle%]</title>
<meta name="Keywords" content="[%$arrkeylink.Keywords%]"/>
<meta name="Description" content="[%$arrkeylink.Description%]"/>
[%/if%]
<link href="[%$url%]templates/greenhotel/style/map.css?v=[%$softversion%]" rel="stylesheet" type="text/css" />
<script type="text/javascript">var dcode = "[%$dcode%]",dcity = "[%$dcity%]",siteurl = "[%$url%]";</script>
<script type="text/javascript" src="[%$url%]templates/greenhotel/js/jquery.js?v=[%$softversion%]"></script>
<script type="text/javascript" src="[%$url%]templates/greenhotel/js/common.js?v=[%$softversion%]"></script>
<script type="text/javascript" src="[%$url%]templates/greenhotel/js/map.js?v=[%$softversion%]"></script>
<script type="text/javascript" src="[%$url%]js/city.js?v=[%$softversion%]"></script>
<script type="text/javascript" src="[%$url%]js/calendar.js?v=[%$softversion%]"></script>
<script type="text/javascript" src="http://api.mapbar.com/api/mapbar31.2.js"></script>
<script type="text/javascript"> 
var maplet = null;  
function initMap(){   
	// 初始化地图
	maplet = new Maplet("mapbar");
	var offsetlng = 0.0101,offsetlat = 0.0005;  //地标偏移
	[% if $param.lng !=0 && $param.lat !=0 %]maplet.centerAndZoom(new MPoint(([%$param.lng%]-offsetlng),([%$param.lat%]-offsetlat)), 8);
	[%else%] maplet.centerAndZoom(new MPoint(([%$param.clng%]-offsetlng),([%$param.clat%]-offsetlat)), 10); [%/if%]
	maplet.addControl(new MStandardControl());
	maplet.showOverview(false);
	maplet.width = 768;
	maplet.height = 500;
	
	var marker = new MMarker( 
		[% if $param.lng !=0 && $param.lat !=0 %]new MPoint(([%$param.lng%]-offsetlng),([%$param.lat%]-offsetlat)),[%else%]new MPoint(([%$param.clng%]-offsetlng),([%$param.clat%]-offsetlat)),[%/if%]
		new MIcon(siteurl+"templates/greenhotel/images/detail_mark.gif",28,28)
	);
	maplet.addOverlay(marker);
	
	// 标注数据
	var message = new Array();
	var hname = new Array();
	[%forlist from=$arrhotel key=i%]
	hname[[%(key=>i)-1%]] = '<div class="hname"><a href="[%$arrhotel[i].showurl%]" target="_blank">[%$arrhotel[i].Name%]</a>[%$arrhotel[i].Category|getstar(0)%]</div>';
	message[[%(key=>i)-1%]] = "<div class='hinfo'><dl><dt>[%if $arrhotel[i].Thumbnail !=''%]<a href='[%$arrhotel[i].showurl%]' target='_blank'><img src='[%$arrhotel[i].Thumbnail%]'/></a>[%else%]<img src='/templates/greenhotel/images/search_pic_m.gif' />[%/if%]</dt><dd><b>简介：</b>[%$arrhotel[i].IntroEditor|cuthtml(90,'　','')%]</dd><dd><b>地址：</b>[%$arrhotel[i].Address%]</dd></dl><div class='htext'><a href='[%$arrhotel[i].showurl%]' target='_blank'>酒店详情</a>　<a href='[%$arrhotel[i].showurl%]' target='_blank'>全部房型</a>　</div><dl class='hroom b'><dd class='d1'>房型</dd><dd class='d2'>日均价</dd><dd class='d3'>早餐</dd><dd class='d3'>床型</dd><dd class='d3'>宽带</dd><dd class='d4'>支付方式</dd><dd class='d5'>&nbsp;&nbsp;</dd></dl> [%forlist from=$arrhotel[i].maproom key=mroom%]<dl class='hroom t'><dd class='d1'>[%$arrhotel[i].maproom[mroom].Name%]</dd><dd class='d2 clre26'>¥[%$arrhotel[i].maproom[mroom].Price%]</dd><dd class='d3'>[%$arrhotel[i].maproom[mroom].Rate|cuthtml(3)%]</dd><dd class='d3'>[%$arrhotel[i].maproom[mroom].Bed%]</dd><dd class='d3'>[%$arrhotel[i].maproom[mroom].Broadband%]</dd><dd class='d4'>到店付款</dd><dd class='d5'><input type='button' name='hsubmit'[%if $arrhotel[i].maproom[mroom].canbook==false%] disabled='disabled'[%else%] onclick=\"submitorder('[%$arrhotel[i].maproom[mroom].hid%]','[%$arrhotel[i].maproom[mroom].rid%]','[%$arrhotel[i].maproom[mroom].pid%]','[%$arrhotel[i].maproom[mroom].tm1%]','[%$arrhotel[i].maproom[mroom].tm2%]');\"[%/if%] class='hsubmit' value='预订' /></dd></dl>[%/forlist%]</div>";
	[%/forlist%]
	
	var latlons = [[%$coordlist%]];
	
	// 增加标注到地图
	for(var i=0; i<latlons.length; i++) {
	
		var newMarker = new MMarker(
			new MPoint(latlons[i]),
			new MIcon(siteurl+"templates/greenhotel/images/maps/marker" + i + ".png",17,17),
			new MInfoWindow(i,''),
			new MIconShadow(siteurl+"templates/greenhotel/images/maps/marker_shadow.png",45,28,-12,-8)
		);
		maplet.addOverlay(newMarker);
	
		newMarker.closureData = i;
		MEvent.addListener(maplet,"lookup",solookup);
		MEvent.addListener(newMarker, "click", function(marker) {
	
		marker.info = new MInfoWindow(
			hname[marker.closureData],message[marker.closureData]
		);

		marker.openInfoWindow();
		})
	}
	maplet.setAutoZoom();
}

//设置信息窗口宽高。   
avBubble.width = 540;   
avBubble.height = 270;

//拉框
function solookup(a){
	var t = a.split('&');
	var lnglat = getlnglat(t[2],t[3]);
	var lng = lnglat[0].toString();
	var lat = lnglat[1].toString();
	var mapurl = "[%$mapurl%]";
	mapurl = mapurl.replace('lng=1','lng='+lng);
	mapurl = mapurl.replace('lat=1','lat='+lat);
	window.location=mapurl;
};

var active_menu = "maps";
</script>
</head>
<body onload="initMap();">
[%include file="greenhotel/cn/public/head.html"%]
<div id="tips_rooms">
	<div class="room"></div>
</div>
<div id="tips_pic"></div>
<div id="pageNav" class="maxWidth">
	<p>当前位置：<a href="[%$url%]">[%$lngpack.sitename%]</a>　&raquo;　搜索：[%$param.cityname%]酒店</p>
</div>
<div class="clearLine10"></div>
<div class="maxWidth">
	<div id="contentPanel">
		<h1>您正在搜索：[%$param.cityname%]酒店</h1>
		<div class="filter">
            <div class="fpage">共<b>[%$arrlist.TotalItemCount%]</b>家酒店[%$arrlist.PageIndex%]/[%$arrlist.TotalPageCount%]<a href="[%$pagepreurl%]">上一页</a>　<a href="[%$pagenexturl%]">下一页</a></div>
            <div class="fwhere">[%if $param.districtCode!=''||$param.businessZoneCode!=''||$param.chainBrands!=''||$param.keyword!=''||$param.landmark!=''||$param.categories>0||($param.lowestPrice>0&&$param.highestPrice>0)%]<span class="lab">您的筛选条件：</span>[%/if%][%if $param.districtCode!=''%]<span id="distext"class="fbox">
				<h3></h3>
				<a href="[%$page_rearea_url|pageseturl('rearea','')%]"title="取消该条件"></a></span><script type="text/javascript">$(document).ready(function(){$("#distext h3").text($("#"+$("ul.research > li input[name='reareafliter']:checked").attr("id").replace("rearea","areaurl")+" span").text())});</script>[%/if%][%if $param.businessZoneCode!=''%]<span id="busitext"class="fbox">
				<h3>[%$businessZoneText%]</h3>
				<a href="[%$page_relank_url|pageseturl('rehot','')%]"title="取消该条件"></a></span>[%/if%][%if $param.chainBrands!=''%]<span id="chaintext"class="fbox">
				<h3></h3>
				<a href="[%$page_chain_url|pageseturl('rebrand','')%]"title="取消该条件"></a></span><script type="text/javascript">$(document).ready(function(){$("#chaintext h3").text($("#"+$("ul.research > li input[name='rebrand']:checked").attr("id").replace("rebrand","brandurl")+" span").text())});</script>[%/if%][%if $param.keyword!=''%]<span class="fbox">
				<h3>[%$param.keyword%]</h3>
				<a href="[%$page_key_url%]"title="取消该条件"></a></span>[%/if%][%if $param.landmark!=''%]<span class="fbox">
				<h3>[%$param.landmark%]</h3>
				<a href="[%$page_land_url%]"title="取消该条件"></a></span>[%/if%][%if $param.categories!=0%]<span class="fbox">
				<h3>[%$param.categories|format_star(0)%]</h3>
				<a href="[%$page_cate_url%]"title="取消该条件"></a></span>[%/if%][%if $param.lowestPrice!=0&&$param.highestPrice!=0%]<span class="fbox">
				<h3>￥[%$param.lowestPrice%],￥[%$param.highestPrice%]</h3>
				<a href="[%$page_pp_url%]"title="取消该条件"></a></span>[%/if%]</div>
         </div>
         <div class="filterorder">
         	<div class="filterbox">
            	<dl>
                    <dd class="listorder2"><a href="[%$pagemodeturl|pageseturl('simple','')%]"onfocus="this.blur();">列表方式</a></dd>
					<dd class="maporder"><a href=""onfocus="this.blur();">地图方式</a></dd>
					<dd class="essyorder2"><a href="[%$pagemodeturl|pageseturl('simple','1')%]"onfocus="this.blur();">精简方式</a></dd>
                    <dd style="float:left; margin-left:20px; line-height:26px;"><input type="checkbox" id="guaranteeable" name="guaranteeable"[%if $param.includeGuaranteeable==false%] checked="checked"[%/if%]value="1"/>只显示无担保酒店<input type="hidden"id="guaranteeableurl"name="guaranteeableurl"value="[%$page_guaran_url%]"/>　　<input type="checkbox" id="nonbooking" name="nonbooking"[%if $param.includeNonBooking==false%] checked="checked"[%/if%]value="1"/>只显示可入住酒店<input type="hidden"id="nonbookingurl"name="nonbookingurl" value="[%$page_nobook_url%]"/></dd>
                </dl>
            </div>
         </div>
         <div class="clearLine clearLine10"></div>
		<div class="hotelmaplist">
        	<div class="mapsearch"><div class="p">选择城市 &nbsp;<input id="mcityname" name="mcityname" size="20" value="[%$param.cityname%]" class="infoInput" title="可以填写汉字、拼音、拼音缩写" /><input type="hidden" id="mcityid" name="mcityid" value="[%$param.cityCode%]" /><div id="mcitynametips" class="citynametips"></div> &nbsp;在 &nbsp;<input type="text" id="hotelmnearby" class="near" name="hotelmnearby" title="您可以输入你去的那个地方附近的主要标志，例如：天安门、西客站、海龙大厦等等" value="[%$param.landmark%]" /><input id="coordinate2" name="coordinate2" type="hidden" value="[%$param.lng%],[%$param.lat%]" /> &nbsp;附近 <input type="button" id="mapsubmit" name="mapsubmit" class="mapsubmit" value="查找酒店" /></div><dl><dd id="zoomin"><a href='#body' onClick="maplet.zoomIn();">放大</a></dd><dd id="zoomout"><a href='#body' onClick="maplet.zoomOut();">缩小</a></dd><dd id="measure"><a href='#body' onClick="maplet.setMode('measure');">测距</a></dd><dd id="lookup"><a href='#body' onClick="maplet.setMode('lookup');">拉框找酒店</a></dd>
</dl></div>
        	<div id="mapbar" style="height:500px; width:768px; z-index:20;">地图正在加载中...</div>
        </div>
        <div id="hotelSearchResult" style="clear:both;">[%forlist from=$arrhotel key=i%]
			<div class="resultItem"id="[%$arrhotel[i]._id%]">
				<div class="d">
					<div class="r">
						<h2><a href="[%$arrhotel[i].showurl%]" target="_blank" title="[%$arrhotel[i].Description|fliterhtml('')%]">[%$arrhotel[i].Name%]</a></h2>
						[%if $arrhotel[i].Category >0%]<div class="starlist"><em>星级：</em>[%$arrhotel[i].Category|getstar(0)%]</div>[%/if%]
						<div class="description"><em>简介：</em>[%$arrhotel[i].IntroEditor|cuthtml(97,'　','')%]<a href="[%$arrhotel[i].showurl%]"target="_blank"> &gt;&gt;详细</a></div>
						<div class="address"><em>地址：</em>[%$arrhotel[i].Address%]</div>
						[%if $arrhotel[i].countLandmarks==1%]
						<div class="locations"><em>周边：</em>[%forlist from=$arrhotel[i].Landmarks key=land%]<a href="[%$arrhotel[i].Landmarks[land].linkurl%]"target="_blank">[%$arrhotel[i].Landmarks[land].name%]</a>&nbsp;[%/forlist%]</div>
						[%/if%]
                        [%if $arrhotel[i].isGarantee==true%]<div class="isgaran"><span>本酒店部分房间预订时可能需要担保，敬请留意！</span></div>[%/if%]
						<div class="rooms">
							<dl class="t"><dd class="c8">&nbsp;</dd><dd class="c7"><span>说明/促销</span></dd><dd class="c2"><span>日均价</span></dd><dd class="c9"><span>市场价</span></dd><dd class="c6"><span>支付</span></dd><dd class="c5"><span>宽带</span></dd><dd class="c4"><span>床型</span></dd><dd class="c3"><span>早餐</span></dd><dt>房型</dt></dl>
							[%forlist from=$arrhotel[i].Rooms key=room%][%forlist from=$arrhotel[i].Rooms[room].RatePlans key=rate%]
							<dl class="b[%if key=>room >4%] hideitem[%/if%]"id="[%$arrhotel[i]._id%][%$arrhotel[i].Rooms[room].TypeId%]_[%$arrhotel[i].Rooms[room].RatePlans[rate]._id%]">
								[%forlist from=$arrhotel[i].Rooms[room].RatePlans[rate].Rates key=price%][%if key=>price==1%]
								<dd class="c8"><a hidefocus="true"href="#body"[%if $arrhotel[i].Rooms[room].RatePlans[rate].NonBookingPercentage>0%] class="man"[%else%] onmousedown="ordertips('[%$arrhotel[i]._id%]','[%$arrhotel[i].Rooms[room].TypeId%]','[%$arrhotel[i].Rooms[room].RatePlans[rate]._id%]')"       onmouseup="submitorder('[%$arrhotel[i]._id%]','[%$arrhotel[i].Rooms[room].TypeId%]','[%$arrhotel[i].Rooms[room].RatePlans[rate]._id%]','[%$param.checkInDate%]','[%$param.checkOutDate%]');"[%/if%]></a></dd>
								<dd class="c7"><a href="#body"onmouseover="t(this,'v3','[%$arrhotel[i]._id%][%$arrhotel[i].Rooms[room].TypeId%]');"onmouseout="h();">[%$arrhotel[i].Rooms[room].RatePlans[rate].Name%]</a></dd>
								<dd class="c2"><a href="#body"onmouseover="t(this,'v2','[%$arrhotel[i]._id%][%$arrhotel[i].Rooms[room].TypeId%][%$arrhotel[i].Rooms[room].RatePlans[rate]._id%]');"onmouseout="h();">[%if $arrhotel[i].Rooms[room].RatePlans[rate].NonBookingPercentage>0%]¥[%$arrhotel[i].Rooms[room].RatePlans[rate].AveragePrice|pricetoint(0)%][%else%]¥[%$arrhotel[i].Rooms[room].RatePlans[rate].Rates[price].MemberRate|pricetoint(0)%][%/if%]</a></dd>
								<dd class="c9">[%if $arrhotel[i].Rooms[room].RatePlans[rate].Rates[price].RetailRate>0%]<a href="#body">¥[%$arrhotel[i].Rooms[room].RatePlans[rate].Rates[price].RetailRate%]</a>[%else%]-[%/if%]</dd>
								<div id="[%$arrhotel[i]._id%][%$arrhotel[i].Rooms[room].TypeId%]_v3"style="display:none;">
									<dl class="v3">
										[%if $arrhotel[i].Rooms[room].RatePlans[rate].IsGuaranteeable==true%][%forlist from=$arrhotel[i].Rooms[room].RatePlans[rate].GaranteeRules key=able%][%if key=>able==1%]
										<dd><b>担保信息</b>：担保条件：在[%$arrhotel[i].Rooms[room].RatePlans[rate].GaranteeRules[able].ActivationDate|timeformat(7,'.')%]至[%$arrhotel[i].Rooms[room].RatePlans[rate].GaranteeRules[able].ExpirationDate|timeformat(7,'.')%]入住在18:00至6:00到店，需要您提供信用卡担保。客人最早到店1天前可以变更取消，之后无法变更取消，如未入住，将扣除第一晚房费作为违约金。</dd>
										[%/if%][%/forlist%][%/if%]
										<dd><b>支付方式</b>：到店付款</dd>
										<dt><b>加床信息</b>：[%if $arrhotel[i].Rooms[room].RatePlans[rate].Rates[price].AddBedRate==0%]不提供加床信息[%else%]RMB[%$arrhotel[i].Rooms[room].RatePlans[rate].Rates[price].AddBedRate%][%/if%]</dt>
									</dl></div>
								[%/if%][%/forlist%]<dd class="c6">到付</dd><dd class="c5">[%if $arrhotel[i].Rooms[room].Broadband==1%]收费[%elseif $arrhotel[i].Rooms[room].Broadband==2%]免费[%else%]无[%/if%]</dd><dd class="c4">[%$arrhotel[i].Rooms[room].BedDescription%]</dd><dd class="c3">[%$arrhotel[i].Rooms[room].RatePlans[rate].Name%]</dd>
								<dt>[%if key=>rate==1%]<a href="#body"onmouseover="t(this,'v1','[%$arrhotel[i]._id%][%$arrhotel[i].Rooms[room].TypeId%]');"onmouseout="h();">[%$arrhotel[i].Rooms[room].Name%]</a>[%else%]&nbsp;[%/if%]</dt>
							</dl>
							<div id="[%$arrhotel[i]._id%][%$arrhotel[i].Rooms[room].TypeId%][%$arrhotel[i].Rooms[room].RatePlans[rate]._id%]_v2"style="display:none;">
								<dl class="v2"><dt>[%forlist from=$arrhotel[i].Rooms[room].RatePlans[rate].Rates key=b%][%if key=>b<=7%]<span>[%$arrhotel[i].Rooms[room].RatePlans[rate].Rates[b].Date|format_week(0)%]</span>[%/if%][%/forlist%]</dt>[%forlist from=$arrhotel[i].Rooms[room].RatePlans[rate].Rates key=p%]
<dd>[%if $arrhotel[i].Rooms[room].RatePlans[rate].Rates[p].CanBook==true%]¥[%$arrhotel[i].Rooms[room].RatePlans[rate].Rates[p].MemberRate%][%else%]-[%/if%]</dd>[%/forlist%]</dl>
							</div>
							[%/forlist%]
							<div id="[%$arrhotel[i]._id%][%$arrhotel[i].Rooms[room].TypeId%]_v1"style="display:none;">
								<dl class="v1"><dd><b>床型</b>：[%$arrhotel[i].Rooms[room].BedDescription%]</dd><dd><b>上网</b>：宽带[[%if $arrhotel[i].Rooms[room].Broadband==1%]收费[%elseif $arrhotel[i].Rooms[room].Broadband==2%]免费[%else%]无[%/if%]]</dd><dd><b>房间面积</b>：[%if $arrhotel[i].Rooms[room].Area >0%][%$arrhotel[i].Rooms[room].Area%]平方米[%else%]-[%/if%]</dd><dd><b>楼层</b>：[%$arrhotel[i].Rooms[room].Floor%]层</dd><dt><b>其它</b>：[%$arrhotel[i].Rooms[room].Note|pageseturl("","")%]</dt>
								</dl></div>
							[%/forlist%]
							<div class="o">[%if key=>room >5 %]<a href="#body" name="false" onclick="ShowHotelRooms(this,[%(key=>room)-1%],'[%$arrhotel[i]._id%]');" title="全部房型">所有房型▼([%(key=>room)-1%])</a>[%/if%][%if $arrhotel[i].AvailPolicy != ''%][%/if%][%if $arrhotel[i].AvailPolicy !=''%]<span>[%$arrhotel[i].AvailPolicy|fliterhtml('')%]</span>[%/if%]</div>
						</div>
					</div>
					<ul class="l">
						<li class="t">[%if $arrhotel[i].Thumbnail !=''%]<a href="#body" onmouseover="ShowHotelPic(this,'[%$arrhotel[i].Photo%]')" onmouseout="hidepic();"><img src="[%$arrhotel[i].Thumbnail%]"/></a>[%else%]<img src="[%$url%]templates/greenhotel/images/search_pic_m.gif" />[%/if%]</li>
						<!--li><a href="#body">酒店图片集</a></li-->
						<li id="db[%$arrhotel[i]._id%]"><a href="javascript:setdb('[%$arrhotel[i]._id%]','[%$arrhotel[i].Name%]')"class="db"></a></li>
					</ul>
					<div class="clearLine"></div>
				</div>
				[%if $arrhotel[i].Distance>0%]
				<div class="tips">距<em>[%$arrlist.Landmark%]</em>约<strong>[%$arrhotel[i].Distance%]</strong>米</div>
				[%/if%]</div>
			[%/forlist%]
			 <form action="[%$orderurl%]" method="get" target="_blank" id="ordersubmit" name="ordersubmit">
            	<input type="hidden" id="ac" name="ac" value="order"/>
                <input type="hidden" id="at" name="at" value="hotelorder"/>
				<input type="hidden" id="hid" name="hid" value=""/>
                <input type="hidden" id="rid" name="rid" value=""/>
                <input type="hidden" id="pid" name="pid" value=""/>
                <input type="hidden" id="ordertm1" name="ordertm1" value=""/>
                <input type="hidden" id="ordertm2" name="ordertm2" value=""/>
            </form>
			[%if $arrlist.TotalItemCount==0%]
			<div class="filtenoitem">
				<div class="itembox">没有找到适合条件的酒店,建议您简化搜索条件再试一试.</div>
			</div>
			[%/if%]
			<div class="clearLine clearLine10"></div>
			<div class="pagelink"><span class="all">共<b>[%$arrlist.TotalItemCount%]</b>家酒店[%$arrlist.PageIndex%]/[%$arrlist.TotalPageCount%]页</span><a href="[%$pageindexurl%]"class="nobg">首页</a><a class="nobg"href="[%$pagepreurl%]">上一页</a>[%$pagetext%]<a class="nobg"href="[%$pagenexturl%]">下一页</a><a class="nobg"href="[%$pagetotalurl%]">末页</a></div>
		</div>
	</div>
    <!--城市弹出框start-->
<div id="cityresults" class="cityresults" style="width: 340px;">
    <div style="width: 100%;">
        <div class="ac_title"><h3><span> 拼音支持首字母输入, 或 <span style="font-family: simsun;">&nbsp;←↑↓→&nbsp;</span> 选择 </span></h3><a class="ac_close" title="关闭" href="javascript:ac_close();"></a> </div>
        <ul class="abctab" method="hotTab">
            <li class="action" onclick="cityTablist(1);">热门</li>
            <li onclick="cityTablist(2);">ABCD</li>
            <li onclick="cityTablist(3);">EFGHJ</li>
            <li onclick="cityTablist(4);">KLMN</li>
            <li onclick="cityTablist(5);">PQRSTW</li>
            <li onclick="cityTablist(6);">XYZ</li>
         </ul>
         <div id="abclist"></div>
    </div>
</div>
<!--城市弹出框end-->
	<div id="sidePanel">
		<div id="sidesearch" class="sidebar" style="margin-bottom:10px;">
            <div class="p">
                <div class="t"></div>
                <div class="c">
                    <div class="angle_l"></div>
                    <div class="search">
                        <ul>
                            <li class="hotelSearch"><h3>酒店查询</h3></li>
                            <li class="flightSearch"><h3></h3></li>
                        </ul>
                        <ul style="display:none;">
                            <li class="hotelSearch2"><h3>酒店查询</h3></li>
                            <li class="flightSearch2"><h3></h3></li>
                        </ul>
                        <div class="formPanel">
                            <form id="hotelSearchForm" name="hotelSearchForm" action="[%$url%]index.php" method="get">
                             <dl>
                             <dd><label>城市：</label><input id="cityname" name="cityname" size="20" value="[%$param.cityname%]" class="infoInput" title="可以填写汉字、拼音、拼音缩写" />
                             <input type="hidden" id="cityid" name="cityid" value="[%$param.cityCode%]" /><div id="citynametips" class="citynametips"></div></dd>
                             <dd><label>入住日期：</label><input id="tm1" type="text" name="tm1" value="[%$param.checkInDate%]" title="选择入住日期" class="infoInput" />
                              <div id="tm1tips" class="tm1tips"></div></dd>
                             <dd><label>退房日期：</label><input id="tm2" type="text" name="tm2" value="[%$param.checkOutDate%]" title="选择退房日期" class="infoInput" />
                              <div id="tm2tips" class="tm2tips"></div></dd>
                             <dd><label>酒店名称：</label><input type="text" id="hotelname" name="hotelname" size="30" maxlength="80" value="" class="infoInput" title="可以输入如家、快捷、7天、锦江之星、前门店" /><div id="hotelnametips" class="hotelnametips">输入酒店部分或者全部名称</div>
                             </dd>
                             <dd><label>酒店靠近：</label><input id="hotelnearby" name="hotelnearby" value="" size="20" class="infoInput" title="您可以输入你去的那个地方附近的主要标志，例如：天安门、西客站、海龙大厦等等" /><input id="coordinate" name="coordinate" type="hidden" value="0,0" />	<div id="hotelnearbytips" class="hotelnearbytips">输入标志性建筑或地标</div>
                             </dd>
                             <dd><label>酒店星级：</label><select size="1" name="hotelstar" class="select" id="hotelstar">
                                <option value="" selected="selected">不限星级</option>
                                <option value="1">一星级/节约型</option>
                                <option value="2">二星级/经济型</option> 
                                <option value="3">三星级/舒适型</option>
                                <option value="4">四星级/高档型</option>
                                <option value="5">五星级/豪华型</option> 
                            </select></dd>
                            <dd><label>酒店价格：</label><select size="1" name="hotelprice" class="select" id="hotelprice">
                                <option value="0" selected="selected">不限</option>
                                <option value="200">¥200元以下</option> 
                                <option value="200,300">¥200-300元</option>
                                <option value="300,500"> ¥300-500元</option>
                                <option value="500">¥500元以上 </option> 
                            </select></dd>
                            <dd>
                            <input type="hidden" id="ac" name="ac" value="hotel" /><input type="hidden" id="at" name="at" value="hotelsearch" />
                        <input type="hidden" id="broadbandService" name="broadbandService" value="0" /><input type="hidden" id="districtCode" name="districtCode" value="" /><input type="hidden" id="businessZoneCode" name="businessZoneCode" value="" /> <input type="hidden" id="simple" name="simple" value="2" />
                            <input type="submit" id="submitbotton" value="" title="搜索" class="buttonface" /></dd>
                             </dl>
                            </form>
                        </div>
                        <div class="formPanel hidden">
                            <form id="flightSearchForm" action="/" method="post">
                              
                            </form>
                        </div>
                    </div>
                    <div class="clearLine"></div>
                    <div class="angle_r"></div>
                </div>
                <div class="f"></div>
            </div>
		</div>
        <div id="autoCompleteCityName" class="cityname"></div>
        <div id="autoCompletemCityName" class="mcityname"></div>
        <div id="autoCompleteNearby" class="hotelnearby"></div>
        <div id="autoCompletemNearby" class="hotelmnearby"></div>
		<div class="clearLine10"></div>
        <div class="clearLine"></div>
        <!--<div class="filtersel">
         	<input type="checkbox" name="xf" value="1" />消费券 <input type="checkbox" name="xf" value="1" />返现金 <input type="checkbox" id="guaranteeable" name="guaranteeable" checked="checked" value="1" />是否担保
            <input type="hidden" id="guaranteeableurl" name="guaranteeableurl" value="[%$url%]index.php?ac=hotel&at=hotelsearch&cityid=0101&cityname=%E5%8C%97%E4%BA%AC&tm1=2011-06-29&tm2=2011-07-01&simple=1" />
         </div>
         <div class="clearLine clearLine10"></div>-->
         <div class="clearLine clearLine10"></div>
		<div class="sidebarleft"id="hoteldb">
			<h2>酒店对比</h2>
			<dl class="hoteldb"id="dbtext">
				<dt>
					<h3>最多能对比<span id="dbnum">2</span>家酒店</h3>
					<a href="#body"class="dbsubmit"onclick="chkdb('[%$dburl%]');"hidefocus="true"></a></dt>
			</dl>
		</div>
        <div id="searchtips">请稍等，您查询的酒店正在搜索中...</div>
		<div class="sidebarleft">
			<h2>酒店价格范围</h2>
			<ul class="research">
				<li>
					<input id="reprice0"name="reprice"[%if $param.lowestPrice==0%] checked="checked"[%/if%]type="radio"/>
					<a id="priceurl0"href="[%$page_reprice_url|pageseturl('reprice','')%]">不限</a></li>
				<li>
					<input id="reprice1"name="reprice"[%if $param.highestPrice==200%] checked="checked"[%/if%]value="200"type="radio"/>
					<a id="priceurl1"href="[%$page_reprice_url|pageseturl('reprice','200')%]"><span class="m">200元以下</span></a></li>
				<li>
					<input id="reprice2"name="reprice"[%if $param.highestPrice==300%] checked="checked"[%/if%]value="200,300"type="radio"/>
					<a id="priceurl2"href="[%$page_reprice_url|pageseturl('reprice','200,300')%]"><span class="m">200-300元</span></a></li>
				<li>
					<input id="reprice3"name="reprice"[%if $param.lowestPrice==300 && $param.highestPrice==500%] checked="checked"[%/if%]value="300,500"type="radio"/>
					<a id="priceurl3"href="[%$page_reprice_url|pageseturl('reprice','300,500')%]"><span class="m">300-500元</span></a></li>
				<li>
					<input id="reprice4"name="reprice"[%if $param.lowestPrice==0&&$param.highestPrice==500%] checked="checked"[%/if%]value="500"type="radio"/>
					<a id="priceurl4"href="[%$page_reprice_url|pageseturl('reprice','500')%]"><span class="m">500元以上</span></a></li>
			</ul>
		</div>
		<div class="clearLine10"></div>
		<div class="sidebarleft">
			<h2>酒店星级/类型</h2>
			<ul class="research">
				<li>
					<input id="restar"name="restar"[%if $param.categories==''%] checked="checked"[%/if%]value=""type="radio"/>
					<a id="starurl"href="[%$page_restar_url|pageseturl('restar','')%]"><span class="m">不限星级</span></a></li>
				<li>
					<input id="restar0"name="restar"[%if $param.categories=='0'%] checked="checked"[%/if%]value="0"type="radio"/>
					<a id="starurl0"href="[%$page_restar_url|pageseturl('restar','0')%]"><span class="m">未评星级</span></a></li>
				<li>
					<input id="restar1"name="restar"[%if $param.categories==1%] checked="checked"[%/if%]value="1"type="radio"/>
					<a id="starurl1"href="[%$page_restar_url|pageseturl('restar','1')%]"><span class="m">一星级/节约型</span></a></li>
				<li>
					<input id="restar2"name="restar"[%if $param.categories==2%] checked="checked"[%/if%]value="2"type="radio"/>
					<a id="starurl2"href="[%$page_restar_url|pageseturl('restar','2')%]"><span class="m">二星级/经济型</span></a></li>
				<li>
					<input id="restar3"name="restar"[%if $param.categories==3%] checked="checked"[%/if%]value="3"type="radio"/>
					<a id="starurl3"href="[%$page_restar_url|pageseturl('restar','3')%]"><span class="m">三星级/舒适型</span></a></li>
				<li>
					<input id="restar4"name="restar"[%if $param.categories==4%] checked="checked"[%/if%]value="4"type="radio"/>
					<a id="starurl4"href="[%$page_restar_url|pageseturl('restar','4')%]"><span class="m">四星级/高档型</span></a></li>
				<li>
					<input id="restar5"name="restar"[%if $param.categories==5%] checked="checked"[%/if%]value="5"type="radio"/>
					<a id="starurl5"href="[%$page_restar_url|pageseturl('restar','5')%]"><span class="m">五星级/豪华型</span></a></li>
			</ul>
		</div>
		<div class="clearLine10"></div>
		<div class="sidebarleft"id="commercial">
			<h2>位于热门商圈的酒店</h2>
			<ul class="research">
            	<li>
				<input id="retown" name="retownfliter"[%if $param.businessZoneCode==''%] checked="checked"[%/if%] type="radio"/>
				<a id="townurl" href="[%$page_relank_url|pageseturl('retown','')%]"/><span class="m">不限</span></a>
				</li>
				[%forlist from=$arrcity.CommercialLocations key=i%]<li[%if key=>i>8%] class="hideitem"[%/if%]>
				<input id="retown[%(key=>i)-1%]"name="retownfliter"[%if $param.businessZoneCode==$arrcity.CommercialLocations[$i]['Code']%]checked="checked"[%/if%]type="radio"/>
				<a id="townurl[%(key=>i)-1%]"href="[%$page_relank_url|pageseturl('retown',$arrcity.CommercialLocations[$i]['Code'])%]"/><span class="m">[%$arrcity.CommercialLocations[$i]['Name']%]</span></a>
				</li>
				[%/forlist%]
                [%if count($arrcity.CommercialLocations)>8%]
				<li id="commercial_more"><a href="#body"name="false"hidefocus="true"onclick="ShowhotelRange(this,'commercial',8)"><span class="more">更多▼</span></a></li>
				[%/if%]
			</ul>
		</div>
		<div class="clearLine10"></div>
		<div class="sidebarleft"id="district">
			<h2>位于主要行政区的酒店</h2>
			<ul class="research">
            <li>
				<input id="rearea" name="reareafliter"[%if $param.districtCode==''%] checked="checked"[%/if%] type="radio"/>
				<a id="areaurl" href="[%$page_rearea_url|pageseturl('rearea','')%]"/><span class="m">不限</span></a>
				</li>
				[%forlist from=$arrcity.DistrictLocations key=i%]<li[%if key=>i>8%] class="hideitem"[%/if%]>
				<input id="rearea[%(key=>i)-1%]"name="reareafliter"[%if $param.districtCode==$arrcity.DistrictLocations[$i]['Code']%]checked="checked"[%/if%]type="radio"/>
				<a id="areaurl[%(key=>i)-1%]"href="[%$page_rearea_url|pageseturl('rearea',$arrcity.DistrictLocations[$i]['Code'])%]"/><span class="m">[%$arrcity.DistrictLocations[$i]['Name']%]</span></a>
				</li>
				[%/forlist%][%if count($arrcity.DistrictLocations)>8%]
				<li id="district_more"><a href="#body"name="false"hidefocus="true"onclick="ShowhotelRange(this,'district',8)"><span class="more">更多▼</span></a></li>
				[%/if%]
			</ul>
		</div>
		<div class="clearLine10"></div>
		<div class="sidebarleft"id="hotspots">
			<h2>位于热点地区的酒店</h2>
			<ul class="research">
            <li>
				<input id="rehot" name="rehotfliter"[%if $param.businessZoneCode==''%] checked="checked"[%/if%] type="radio"/>
				<a id="hoturl" href="[%$page_relank_url|pageseturl('rehot','')%]"/><span class="m">不限</span></a>
				</li>
				[%forlist from=$arrcity.LandmarkLocations key=i%]<li[%if key=>i>8%] class="hideitem"[%/if%]>
				<input id="rehot[%(key=>i)-1%]"name="rehotfliter"[%if $param.businessZoneCode==$arrcity.LandmarkLocations[$i]['Code']%]checked="checked"[%/if%]type="radio"/>
				<a id="hoturl[%(key=>i)-1%]"href="[%$page_relank_url|pageseturl('rehot',$arrcity.LandmarkLocations[$i]['Code'])%]"/><span class="m">[%$arrcity.LandmarkLocations[$i]['Name']%]</span></a>
				</li>
				[%/forlist%][%if count($arrcity.LandmarkLocations)>8%]
				<li id="hotspots_more"><a href="#body"name="false"hidefocus="true"onclick="ShowhotelRange(this,'hotspots',8)"><span class="more">更多▼</span></a></li>
				[%/if%]
			</ul>
		</div>
		<div class="clearLine10"></div>
		<div class="sidebarleft"id="chainbrand">
			<h2>连锁品牌</h2>
			<ul class="research">
             <li>
				<input id="rebrand" name="rebrand"[%if $param.chainBrands==''%] checked="checked"[%/if%] type="radio"/>
				<a id="brandurl" href="[%$page_chain_url|pageseturl('rebrand','')%]"/><span class="m">不限</span></a>
				</li>
				[%forlist from=$arrchainbrands key=i%]<li[%if key=>i>8%] class="hideitem"[%/if%]>
				<input id="rebrand[%(key=>i)-1%]"name="rebrand"[%if $param.chainBrands==$arrchainbrands[$i]['_id']%]checked="checked"[%/if%]type="radio"/>
				<a id="brandurl[%(key=>i)-1%]"href="[%$page_chain_url|pageseturl('rebrand',$arrchainbrands[$i]['_id'])%]"/><span class="m">[%$arrchainbrands[$i]['Name']%]</span></a>
				</li>
				[%/forlist%][%if count($arrchainbrands)>8%]
				<li id="chainbrand_more"><a href="#body"name="false"hidefocus="true"onclick="ShowhotelRange(this,'chainbrand',8)"><span class="more">更多▼</span></a></li>
				[%/if%]
			</ul>
		</div>
	</div>
	<div class="clearLine"></div>
</div>
<script type="text/javascript">
	if($("#mcityname").val() == "") {
		$("#mcityname").val(dcity);
		$("#mcityid").val(dcode);
	}
</script>
<div class="clearLine"></div>
[%include file="greenhotel/cn/public/footer.html"%]
</body>
</html>